/**
 * api文件
 * @Author: yd_renyuanyu
 * @Date: 2021-11-12 10:48:10
 * @Version: 1.0.0
 */
import request from '@/lib/request';

/* ********** BusinessLog ********** */
/**
 * 获取业务日志列表
 * @tips BusinessLog
 * @tags [BusinessLog]
 * @param { object } aDataQuery 参数 [Api_GET_BusinessLogQO]
  */
export function api_GET_BusinessLog (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/businessLog',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 添加业务日志
 * @tips BusinessLog
 * @tags [BusinessLog]
 * @param { object } aDataBody 参数 [#/components/schemas/SiS.BusinessAudit.BusinessLogs.BusinessLogCreateDto]
  */
export function api_POST_BusinessLog (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/businessLog',
    method: 'post',
    data: aDataBody
  });
}
/* ********** Migrator ********** */
/**
 * --
 * @tips Migrator
 * @tags [Migrator]
 * @param { object } aDataBody 参数 [#/components/schemas/SiS.Taekwondo.MigrateInput]
  */
export function api_POST_MigratorMigrate (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/migrator/migrate',
    method: 'post',
    data: aDataBody
  });
}
/**
 * --
 * @tips Migrator
 * @tags [Migrator]
 * @param { object } aDataBody 参数 [#/components/schemas/SiS.Taekwondo.ExcuteSqlInput]
  */
export function api_POST_MigratorExcuteSqlScript (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/migrator/excuteSqlScript',
    method: 'post',
    data: aDataBody
  });
}
/* ********** Trade ********** */
/**
 * 获取个人订单
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradePersonalOrderListQO]
  */
export function api_GET_TradePersonalOrderList (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/personalOrderList',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 客户批量删除订单
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataBody 参数
  */
export function api_PUT_TradeDeletePersonalOrders (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/deletePersonalOrders',
    method: 'put',
    data: aDataBody
  });
}
/**
 * 获取支付订单的参数
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradePayOrderParameterQO]
  */
export function api_GET_TradePayOrderParameter (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/payOrderParameter',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 接收订单变化通知
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataBody 参数 [#/components/schemas/SiS.TKW.Payment.Inputs.Pay.ReceiptNotificationOrderStatusInput]
  */
export function api_POST_TradeReceiptNotificationOrderStatus (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/receiptNotificationOrderStatus',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 获取线下支付订单的收款码信息
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradePersonalOrderCollectionCodeQO]
  */
export function api_GET_TradePersonalOrderCollectionCode (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/personalOrderCollectionCode',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 查询商家订单
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradeBusinessOrderListQO]
  */
export function api_GET_TradeBusinessOrderList (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/businessOrderList',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 设置商家备注
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataBody 参数
  */
export function api_PUT_TradeBusinessOrderRemark (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/businessOrderRemark',
    method: 'put',
    data: aDataBody
  });
}
/**
 * 商家确认订单收款
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataBody 参数 [#/components/schemas/SiS.TKW.Payment.Inputs.Orders.OrderInput]
  */
export function api_PUT_TradeBusinessOrderConfirmTheProceeds (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/businessOrderConfirmTheProceeds',
    method: 'put',
    data: aDataBody
  });
}
/**
 * 获取订单日志
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradeOrderLogListQO]
  */
export function api_GET_TradeOrderLogList (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/orderLogList',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 设置订单的快递信息
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataBody 参数 [#/components/schemas/SiS.TKW.Payment.Inputs.Orders.SetOrderExpressInput]
  */
export function api_PUT_TradeBusinessOrderExpress (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/businessOrderExpress',
    method: 'put',
    data: aDataBody
  });
}
/**
 * 根据订单号获取订单详情
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradeOrderDetailsQO]
  */
export function api_GET_TradeOrderDetails (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/orderDetails',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 取消订单
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataBody 参数 [#/components/schemas/SiS.TKW.Payment.Inputs.Orders.OrderInput]
  */
export function api_PUT_TradeCancellationOfOrder (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/cancellationOfOrder',
    method: 'put',
    data: aDataBody
  });
}
/**
 * 查询订单总数量
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradeOrderTotalNumQO]
  */
export function api_GET_TradeOrderTotalNum (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/orderTotalNum',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 查询线上线下商家收款信息
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradeBusinessesQO]
  */
export function api_GET_TradeBusinesses (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/businesses',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 创建线上商家收款信息
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataBody 参数 [#/components/schemas/SiS.TKW.Payment.Inputs.BusinessesInput]
  */
export function api_POST_TradeBusinessesOnline (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/businessesOnline',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 修改线上商家收款信息
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataBody 参数 [#/components/schemas/SiS.TKW.Payment.Inputs.UpdateBusinessesInput]
  */
export function api_PUT_TradeBusinessesOnline (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/businessesOnline',
    method: 'put',
    data: aDataBody
  });
}
/**
 * 查询线上商家收款信息
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradeBusinessesOnlineQO]
  */
export function api_GET_TradeBusinessesOnline (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/businessesOnline',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 创建线下商家收款信息
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataBody 参数 [#/components/schemas/SiS.TKW.Payment.Inputs.BusinessesOfflineInput`1[[SiS.TKW.Payment.Inputs.CreateBusOfflineCodeInput, SiS.TKW.Payment.Application.Contracts, Version=1.1.2.0, Culture=neutral, PublicKeyToken=null]]]
  */
export function api_POST_TradeBusinessesOffline (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/businessesOffline',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 修改线下商家收款信息
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataBody 参数 [#/components/schemas/SiS.TKW.Payment.Inputs.UpdateBusinessesOfflineInput`1[[SiS.TKW.Payment.Inputs.UpdateBusOfflineCodeInput, SiS.TKW.Payment.Application.Contracts, Version=1.1.2.0, Culture=neutral, PublicKeyToken=null]]]
  */
export function api_PUT_TradeBusinessesOffline (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/businessesOffline',
    method: 'put',
    data: aDataBody
  });
}
/**
 * 查询线下商家收款信息
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradeBusinessesOfflineQO]
  */
export function api_GET_TradeBusinessesOffline (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/businessesOffline',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取赛事的所有年份
 * @tips Trade
 * @tags [Trade]
 * @param {string} businessesId 商家Id
  */
export function api_GET_TradeOrderCompetitionYearListBusinessesId (businessesId) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/app/trade/orderCompetitionYearList/${businessesId}`,
    method: 'get'
  });
}
/**
 * 根据时间筛选赛事列表
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradeOrderCompetitionListQO]
  */
export function api_GET_TradeOrderCompetitionList (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/orderCompetitionList',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 查询赛事订单
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradeCompetitonOrderListQO]
  */
export function api_GET_TradeCompetitonOrderList (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/competitonOrderList',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 查询赛事后勤订单
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradeLogisticOrderListQO]
  */
export function api_GET_TradeLogisticOrderList (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/logisticOrderList',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 查询培训报名订单
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradeTrainingOrderListQO]
  */
export function api_GET_TradeTrainingOrderList (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/trainingOrderList',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 查询培训后勤订单
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradeTrainingLogisticOrderListQO]
  */
export function api_GET_TradeTrainingLogisticOrderList (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/trainingLogisticOrderList',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 查询商城订单
 * @tips Trade
 * @tags [Trade]
 * @param { object } aDataQuery 参数 [Api_GET_TradeMallOrderListQO]
  */
export function api_GET_TradeMallOrderList (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/mallOrderList',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 退款
 * @tips Trade
 * @tags [Trade]
  */
export function api_POST_TradeRefundOrder (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/app/trade/refundOrder',
    method: 'post',
    data: aDataBody
  });
}
